home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Sharing Fun! I Know My Savior Lives / Sunday Savers: Sharing Fun! I Know My Savior Lives.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1310.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.3 KB  |  99 lines

  1. 67
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. Prompt 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows and Macintosh
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baPrompt displays a prompt dialog box.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baPrompt( Caption, Instruction, DefaultText, Flags, X, Y )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, string, string, integer, integer, integer. 
  36. --- RECORDSEPARATOR ---
  37. Caption is the caption to show in the Title bar. 
  38. --- RECORDSEPARATOR ---
  39. Instruction is the instruction to display to the user. 
  40. --- RECORDSEPARATOR ---
  41. DefaultText is the text to display in the edit box. 
  42. --- RECORDSEPARATOR ---
  43. Flags changes the behaviour of the dialog. 
  44. --- RECORDSEPARATOR ---
  45. X is the horizontal position of the dialog. 
  46. --- RECORDSEPARATOR ---
  47. Y is the vertical position of the dialog.
  48. --- RECORDSEPARATOR ---
  49.  
  50. --- RECORDSEPARATOR ---
  51. Returns:
  52. --- RECORDSEPARATOR ---
  53.  
  54. --- RECORDSEPARATOR ---
  55. String. 
  56. --- RECORDSEPARATOR ---
  57. Returns the text the user entered, or an empty string if cancelled
  58. --- RECORDSEPARATOR ---
  59.  
  60. --- RECORDSEPARATOR ---
  61. Examples:
  62. --- RECORDSEPARATOR ---
  63.  
  64. --- RECORDSEPARATOR ---
  65. Director: 
  66. --- RECORDSEPARATOR ---
  67. pw = baPrompt( "", "Please enter your password:" , "", 2, -1, -1 ) 
  68. --- RECORDSEPARATOR ---
  69. Authorware: 
  70. --- RECORDSEPARATOR ---
  71. pw := baPrompt( "", "Please enter your password:" , "", 2, -1, -1 )
  72. --- RECORDSEPARATOR ---
  73.  
  74. --- RECORDSEPARATOR ---
  75. Notes:
  76. --- RECORDSEPARATOR ---
  77.  
  78. --- RECORDSEPARATOR ---
  79. Four flags are currently defined: 
  80. --- RECORDSEPARATOR ---
  81. --- RECORDSEPARATOR ---
  82. only allow numbers to be entered 
  83. --- RECORDSEPARATOR ---
  84. --- RECORDSEPARATOR ---
  85. use ***** to mask the user input 
  86. --- RECORDSEPARATOR ---
  87. --- RECORDSEPARATOR ---
  88. Don't allow spaces to be entered 
  89. --- RECORDSEPARATOR ---
  90. --- RECORDSEPARATOR ---
  91. Do not allow blank entry 
  92. --- RECORDSEPARATOR ---
  93. The values of the X and Y are relative to the screen. Use -1 to center the dialog on 
  94. --- RECORDSEPARATOR ---
  95. the screen, -2 to center on the Director/Authorware window.